<div class="Znavs">
    <ul>
        <li class="index"><a href="/">首页</a></li>
        <li class="to_channel"><a href="javascript:;">节目</a></li>
        <li><a href="/live">直播</a></li>
        <li><a href="/users">个人中心</a></li>
    </ul>
    <div class="channelbox" style="display: none;">
        {{#each channel}}
            <a href="{{url}}">{{name}}</a>
        {{/each}}
    </div>
</div>
{{#extend 'jquery'}}
    <script>
        $(function () {


            $('.to_channel').on('mouseenter', function () {
                $('.channelbox').show().on('mouseleave', function () {
                    $(this).hide();
                });
            });



        });
    </script>
{{/extend}}